package com.fs.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fs.pojo.UserAddr;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 收货地址
 */
@Mapper
public interface UserAddrMapper extends BaseMapper<UserAddr> {

    void updateDefaultAddr(Integer userId);

    Integer getAddrNum(Integer userId);

    List<UserAddr> getAddrList(Integer userId);
}
